import request from '@/utils/request'

// 获取路由
export const getRouters = () => {
  return request({
    url: '/getRouters',
    method: 'get'
  })
}

//获取用户角色列表
export const getUserList = (params) => {
  return request({
    url: '/system/role/getUserList',
    method: 'get',
    params
  })
}